package com.jia.train.global.enums;

public enum BusinessEnum {

    MOBILE_EXISTS("手机号已经被注册"),
    MOBILE_NO_EXISTS("非法用户，手机号未注册"),
    MOBILE_CODE_ERROR("验证码错误"),
    STATION_ALREADY_EXISTS("The station already exists"),
    CARRIAGE_NUMBER_OF_THE_SAME_TRAIN_ALREADY_EXISTS("The carriage Number Of The Same Train Already Exists"),
    TRAIN_NUMBER_ALREADY_EXISTS("The train number already exists"),
    ORDER_OF_THE_SAME_TRAIN_STATION_ALREADY_EXISTS("The order of the same train station already exists"),
    NO_MORE_SEATS_AVAILABLE("The current seat type is no longer available"),
    NETWORK_ORDER_LOCK_FAIL("The server is busy, please try again later"),
    NETWORK_SENTINEL_FAIL("Sentinel Frequent visits, please try again later"),
    ;
    public String desc;

    BusinessEnum(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }
}
